package grpc

import (
	common "jihe.common"
	api "jihe.common/protos/user_server"
	"jihe.common/protos/user_server/proto"
)

type Server struct {
	Pgsql common.Pgsql
	Redis common.Redis
	proto.UserServer
}

func init() {
	go api.GrpcServer(&Server{})
}
